建立混合整数非线性规划模型如下:
m
i
n
z
=
50000
(
x
1
+
x
2
+
x
3
)
+
200
(
x
1
2
+
x
2
2
+
x
3
2
)
+
4000
(
x
1
−
40
)
+
4000
(
x
1
+
x
2
−
100
)
{
x
1
≤
40
+
y
1
M
x
1
+
x
2
≤
100
+
y
2
M
x
1
≥
40
x
2
+
(
x
1
−
40
)
y
1
≥
60
x
3
+
(
x
1
+
x
2
−
100
)
y
2
=
100
0
≤
x
i
≤
100
,
i
=
1
,
2
,
3
y
i
=
0
或
1
,
i
=
1
,
2
min~~z=50000(x_1+x_2+x_3)+200(x_1^2+x_2^2+x_3^2)+4000(x_1-40)+4000(x_1+x_2-100)\\ \left\{ \begin{aligned} &x_1\le 40+y_1M\\ &x_1+x_2\le100+y_2M\\ &x_1\ge40\\ &x_2+(x_1-40)y_1\ge60\\ &x_3+(x_1+x_2-100)y_2=100\\ &0\le x_i\le100,i=1,2,3\\ &y_i=0或1,i=1,2 \end{aligned} \right.
min z=50000(x1+x2+x3)+200(x12+x22+x32)+4000(x1−40)+4000(x1+x2−100)⎩
⎨
⎧x1≤40+y1Mx1+x2≤100+y2Mx1≥40x2+(x1−40)y1≥60x3+(x1+x2−100)y2=1000≤xi≤100,i=1,2,3yi=0或1,i=1,2
|